function A = UpdateA(Wi,Wj,An)
Density = 1/(2*pi)/

